package com.xian.tszs.meal.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xian.tszs.meal.entity.TsAdmin;
import com.xian.tszs.meal.mapper.TsAdminMapper;
import com.xian.tszs.meal.service.TsAdminManageService;
@Service
public class TsAdminManageServiceImpl implements TsAdminManageService {
	
	
	@Autowired
	private TsAdminMapper tsAdminMapper;
	
	@Override
	public void updateAdminInfo(TsAdmin tsAdmin) {
		// TODO Auto-generated method stub
		
		tsAdminMapper.uupdateAdminInfo(tsAdmin);
	}

	@Override
	public void updateAdminPass(String encode, String id) {
		
		
		tsAdminMapper.updateAdminPass(encode,id);
		
	}

}
